#ifndef QDATAPANELWIDGET_H
#define QDATAPANELWIDGET_H

#include <QWidget>

#include <QMap>

class QDataPanel;
class MiniSplitter;
class StyledBar;
class QSqlQuery;

class QDataPanelWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QDataPanelWidget(QWidget *parent = 0);
    ~QDataPanelWidget();

    void    set_query(QSqlQuery* query);

    void    clear();

    void    set_select(int index);
signals:
protected:
    QList<QDataPanel*>          m_panels;
    MiniSplitter*               m_splitter;
    int                         m_point;
};

#endif // QDATAPANELWIDGET_H
